package com.app.stick.patient.domain;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.app.common.annotation.Excel;
import com.app.common.core.domain.BaseEntity;

/**
 * 患者档案信息对象 biz_patient_record
 *
 * @author app
 * @date 2023-12-16
 */
@Data
@TableName(value = "biz_patient_record" )
@ApiModel(value = "BizPatientRecord" , description = "患者档案信息对象" )
public class BizPatientRecord extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 患者档案ID */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "患者档案ID")
    private String patientId;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    /** 患者性别（1=男,2=女） */
    @Excel(name = "患者性别", readConverterExp = "1==男,2=女")
    @ApiModelProperty(value = "患者性别（1=男,2=女）")
    private String patientSex;

    /** 患者身份证号 */
    @Excel(name = "患者身份证号")
    @ApiModelProperty(value = "患者身份证号")
    private String patientCard;

    /** 患者手机号 */
    @Excel(name = "患者手机号")
    @ApiModelProperty(value = "患者手机号")
    private String patientPhone;

    /** 删除标志（0=正常,1=删除） */
    @Excel(name = "删除标志", readConverterExp = "0==正常,1=删除")
    @ApiModelProperty(value = "删除标志（0=正常,1=删除）")
    private String delFlag;


}
